<?php
include('../__global.php');

$oUser = new ml_model_dbUserAccount();
for($i=1;$i<65;$i++)
{
    $oUser->getUidNickByPage($i,100);
    $aRs = $oUser->get_data();
    
    $oRds = new ml_model_rdsHash();
    foreach ($aRs as $row)
    {
        echo $row['uid']."\n";
        $oRds->updateNick($row['uid'] , $row['nickname']);
        
    }
}
echo 'ok';